package so.ifl.vo;

import java.util.Date;

/**
 * 办事处
 * 
 * @author simon create at 2011-12-26 下午2:56:42 <mailto:liangyuanliu@gmail.com>
 */
public class OfficeVo implements java.io.Serializable {
	private static final long serialVersionUID = 1L;
	// Fields

	private Integer officeId;
	private Integer companyId;
	private String officeCode;
	private String officeOwner;
	private String officeTel;
	private String officeAddress;
	private String officeNote;
	private String officeName;
	private String createUser;
	private Date createTime;
	private String lastModifyUser;
	private Date lastModifyTime;

	// Constructors

	/** default constructor */
	public OfficeVo() {
	}

	/** full constructor */
	public OfficeVo(Integer companyId, String officeCode, String officeOwner,
			String officeTel, String officeAddress, String officeNote,
			String officeName, String createUser, Date createTime,
			String lastModifyUser, Date lastModifyTime) {
		super();
		this.companyId = companyId;
		this.officeCode = officeCode;
		this.officeOwner = officeOwner;
		this.officeTel = officeTel;
		this.officeAddress = officeAddress;
		this.officeNote = officeNote;
		this.officeName = officeName;
		this.createUser = createUser;
		this.createTime = createTime;
		this.lastModifyUser = lastModifyUser;
		this.lastModifyTime = lastModifyTime;
	}
	
	public Integer getOfficeId() {
		return this.officeId;
	}

	public void setOfficeId(Integer officeId) {
		this.officeId = officeId;
	}

	public Integer getCompanyId() {
		return this.companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

	public String getOfficeCode() {
		return this.officeCode;
	}

	public void setOfficeCode(String officeCode) {
		this.officeCode = officeCode;
	}

	public String getOfficeOwner() {
		return this.officeOwner;
	}

	public void setOfficeOwner(String officeOwner) {
		this.officeOwner = officeOwner;
	}

	public String getOfficeTel() {
		return this.officeTel;
	}

	public void setOfficeTel(String officeTel) {
		this.officeTel = officeTel;
	}

	public String getOfficeAddress() {
		return this.officeAddress;
	}

	public void setOfficeAddress(String officeAddress) {
		this.officeAddress = officeAddress;
	}

	public String getOfficeNote() {
		return this.officeNote;
	}

	public void setOfficeNote(String officeNote) {
		this.officeNote = officeNote;
	}
	
	

	public String getOfficeName() {
		return officeName;
	}

	public void setOfficeName(String officeName) {
		this.officeName = officeName;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getLastModifyUser() {
		return lastModifyUser;
	}

	public void setLastModifyUser(String lastModifyUser) {
		this.lastModifyUser = lastModifyUser;
	}

	public Date getLastModifyTime() {
		return lastModifyTime;
	}

	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}

	@Override
	public String toString() {
		StringBuffer s = new StringBuffer();
		s.append("{office_id_:" + officeId);
		s.append(",company_id:" + companyId);
		s.append(",office_code_:" + officeCode);
		s.append(",office_name_:" + officeName);
		s.append(",office_owner_:" + officeOwner);
		s.append(",office_tel_:" + officeTel);
		s.append(",office_address_:" + officeAddress);
		s.append(",office_note_:" + officeNote);
		s.append(",create_user_:" + createUser);
		s.append(",create_time_:" + createTime);
		s.append(",last_modify_user:" + lastModifyUser);
		s.append(",last_modify_time_:" + lastModifyTime + "}");
		return s.toString();
	}

}